﻿using HCQ2_Model.APPModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.Log
{
    /// <summary>
    ///  登录接口返回数据
    /// </summary>
    public class OutLoginResult
    {
        /// <summary>
        ///  用户内部编码
        /// </summary>
        public string userid { get; set; }
        /// <summary>
        ///  用户id
        /// </summary>
        public int id { get; set; }
        /// <summary>
        ///  是否拥有审核权限
        /// </summary>
        public bool assessor { get; set; }
        /// <summary>
        ///  单位名称
        /// </summary>
        public string unitname { get; set; }
        /// <summary>
        ///  头像地址
        /// </summary>
        public string headurl { get; set; }
        /// <summary>
        ///  用户使用类别
        /// </summary>
        public int use_type { get; set; }
        /// <summary>
        ///  拥有权限
        /// </summary>
        public List<LoginLimitModel> limit { get; set; }
        /// <summary>
        ///  拥有角色
        /// </summary>
        public List<RoleLimitModel> haveRole { get; set; }
        /// <summary>
        ///  网易云信token
        /// </summary>
        public string token { get; set; }
        /// <summary>
        ///  用户名
        /// </summary>
        public string user_name { get; set; }
        /// <summary>
        ///  登录名
        /// </summary>
        public string login_name { get; set; }
    }
}